/*
 * @Description: jishupu-admin-template
 * @Author: 技术铺<jishupu@qq.com>
 * @Date: 2022-03-03
 */
const { success } = require('./utils')

// 单页模块
module.exports = [
  {
    url: '/v1/info-category/\\d+/info-page',
    type: 'get',
    response: config => {
      const result = {
        'info_category_id': 1,
        'title': '关于我们',
        'cover_image': [],
        'keywords': [
          '技术铺'
        ],
        'description': '',
        'content': null,
        'status': 1,
        'created_at': '2022-02-27 20:29:32'
      }
      return success(result)
    }
  },
  {
    url: '/v1/info-category/\\d+/info-page',
    type: 'put',
    response: config => {
      return success({}, '修改成功')
    }
  }
]
